home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindspring.com!usenet
- From: kbeaver@a.crl.com
- Newsgroups: comp.lang.c
- Subject: Turbo C linker errors
- Date: 16 Feb 1996 13:50:58 GMT
- Organization: MindSpring Enterprises
- Message-ID: <4g2242$2ll@firebrick.mindspring.com>
- NNTP-Posting-Host: kbrock.mindspring.com
- X-Newsreader: SPRY News 3.03 (SPRY, Inc.)
-
- I am using Borland Turbo C++ v3.0 and I am receiving the following errors:
-
- "Linker error: Undefined symbol NWGETFILESERVERINFORMATION in module ..\prog\test.cpp"
- -and-
- "Linker error: Undefined symbol NWCALLSINIT in module ..\prog\test.cpp"
-
- I am just making a basic NetWare API call as seen below using the header file "nwcalls.h"
-
- #include <stdio.h>
- #include <conio.h>
- #include <nwcalls.h>
-
- void main(void)
- {
- NWSERVICE_VERSION majorVersion;
- NWCCODE ccode;
-
- ccode = NWCallsInit (NULL, NULL);
-
- if (ccode) return;
- ccode = NWGetFileServerInformation (0,0,&majorVersion,0,0,0,0,0,0,0,0);
- printf("NetWare major version: %04x\n",ccode);
- return;
- }
-
-
- I have programmed in C in the past but am fairly new to making external library calls like this. Can anyone shed some light on
- my problem?
-
- Thanks!
-
- KB
- kbeaver@a.crl.com
-